package simulator.ui;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.Action;

public class ExitAction extends AbstractAction
{
   private static final long serialVersionUID = 1L;
   
   public ExitAction()
   {
      putValue(Action.NAME, "Exit");
   }
   
   public void actionPerformed(ActionEvent e)
   {
      System.exit(0);
   }
}
